package com.uni.crawl.common.enums.crawl;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 抓取状态
 */
@AllArgsConstructor
@Getter
public enum CrawlQueueStatusEnum {

    RESOLVED_ERR(-2, "解析失败"),
    ERR(-1, "抓取失败"),
    INIT(0, "未抓取"),
    PROCESSING(1, "抓取中"),
    FINISH(2, "已抓取"),
    RESOLVED(3, "已解析"),
    ;
    private final Integer status;
    private final String desc;

}
